
public class Yuan extends Mian {
	private int r;
	
	public Yuan(int r){
		this.r=r;
	}
	
	public int getR() {
		return r;
	}
	public void setR(int r) {
		this.r = r;
	}
	public double C(){
		return 2*3.14*r;
	}
	public double S(){
		return r*r*3.14;
	}


}
